package com.jhgk.jhcee.system.service;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/** 用户角色关联
 * @Description:
 * @Author: lemon_xzp
 * @Date: 2021/9/30 22:09
 */
public interface SysUserRoleRelationService {

    @Transactional
    Boolean updateByUserId(Long userId,Long roleId);

    @Transactional
    Integer updateByRoleId(Long roleId, List<Long> userId);

    @Transactional
    Boolean saveByUserId(Long userId,Long roleId);
}
